package com.javaweb.service.impl;

import com.javaweb.model.Category;
import com.javaweb.service.CategoryService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements CategoryService {
    @Override
    public void delete(String categoryId) {
        System.out.println("删除了指定分类");
    }

    @Override
    public void add(Category category) {
        System.out.println("增加了分类");
    }

    @Override
    public List<Category> list() {
        System.out.println("罗列了所有分类");
        return null;
    }
}
